package com.design.working.dto;

/**
 * 分页参数dto
 * @author gavin
 * @date 2022/6/17 22:28
 */
public class PageControlDTO {

    private Integer page;

    private Integer limit;

    public PageControlDTO() {
    }

    public PageControlDTO(Integer page, Integer limit) {
        this.page = page;
        this.limit = limit;
    }

    public Integer getPage() {
        return page;
    }

    public void setPage(Integer page) {
        this.page = page;
    }

    public Integer getLimit() {
        return limit;
    }

    public void setLimit(Integer limit) {
        this.limit = limit;
    }

    @Override
    public String toString() {
        return "PageControlDTO{" +
                "page=" + page +
                ", limit=" + limit +
                '}';
    }
}
